<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thumeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <h1>thymeleaf模板获取数据</h1>
    <div th:text="${ename}"></div>
    [[${ename}]]<br>
    <input type="text" th:value="${ename}">
</body>
</html>